package com.woniu.controller;

import com.woniu.entity.KillBook;
import com.woniu.service.DeliveryService;
import com.woniu.service.SecKillService;
import com.woniu.util.ResponseData;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/delivery")
@AllArgsConstructor
public class DeliveryController {
    private DeliveryService deliveryService;
    @GetMapping("/queryDelivery")
    public ResponseData<?> queryDelivery(){
        return ResponseData.ok(deliveryService.queryDelivery());
    }
}
